package com.yvan.demo.common.entity;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.annotations.TableName;
import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import org.joda.time.DateTime;


/**
 * @author luoyifan
 */
@ApiModel("仓库信息")
@Getter
@Setter
@TableName("sys_wh")
public class SysWh {
    @ApiModelProperty("仓库ID")
    @TableId("wh_id")
    private String whId;

    @ApiModelProperty("仓库ID")
    @TableField("ent_id")
    private String entId;

    @ApiModelProperty("仓库编号")
    @TableField("wh_code")
    private String whCode;

    @ApiModelProperty("仓库名称")
    @TableField("wh_name")
    private String whName;

    @ApiModelProperty("助记码")
    @TableField("logogram")
    private String logogram;

    @ApiModelProperty("仓库面积")
    @TableField("wh_area")
    private Double whArea;

    @ApiModelProperty("仓库地址")
    @TableField("wh_address")
    private String whAddress;

    @ApiModelProperty("负责人")
    @TableField("director")
    private String director;

    @ApiModelProperty("备注")
    @TableField("remark")
    private String remark;

    @ApiModelProperty("是否活动")
    @TableField("be_active")
    private String beActive;


    @ApiModelProperty("创建时间")
    @TableField("create_at")
    private DateTime createAt;

    @ApiModelProperty("更新时间")
    @TableField("update_at")
    private DateTime updateAt;


}